package com.dissertation.model;

import org.hibernate.validator.constraints.NotEmpty;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Document
public class Template {
    @NotEmpty
    String id;

    @NotEmpty
    private String categoryTreeName;//一级目录名

    @NotEmpty
    private String categoryLeafName;//二级目录名

    List<String> dataName;//用来存储到数据库的名字

    List<String> templateName;//导出到表格的名字

    List<Integer> size;//各个属性在excel表里面单元格的大小

    public String getCategoryTreeName() {
        return categoryTreeName;
    }

    public void setCategoryTreeName(String categoryTreeName) {
        this.categoryTreeName = categoryTreeName;
    }

    public String getCategoryLeafName() {
        return categoryLeafName;
    }

    public void setCategoryLeafName(String categoryLeafName) {
        this.categoryLeafName = categoryLeafName;
    }

    public List<String> getDataName() {
        return dataName;
    }

    public void setDataName(List<String> dataName) {
        this.dataName = dataName;
    }

    public List<String> getTemplateName() {
        return templateName;
    }

    public void setTemplateName(List<String> templateName) {
        this.templateName = templateName;
    }

    public List<Integer> getSize() {
        return size;
    }

    public void setSize(List<Integer> size) {
        this.size = size;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
}
